package com.dy.lock.screen.component;

import java.util.List;

import com.dy.lock.screen.pojo.MaterialCollectInfo;
import com.dy.lock.screen.scoket.Head;

public interface CustomerMaterialCollectComponent {

	/**
	 * 客户收藏或取消收藏文章
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public boolean collectOrCancelMaterial(String body, Head head);

	/**
	 * 获取素材收藏列表
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<MaterialCollectInfo> list(String body, Head head);

}
